package com.ruoyi.customerSample.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 受检单位设备信息对象 inspected_unit_equ
 * 
 * @author luguanqing
 * @date 2020-11-16
 */
@ApiModel("受检单位设备信息对象")
public class InspectedUnitEqu extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 受检设备id */
    private String id;

    /** 受检设备编号 */
    @Excel(name = "受检设备编号")
    @ApiModelProperty(value = "受检设备编号")
    private String inspectionNum;

    /** 受检设备名称 */
    @Excel(name = "受检设备名称")
    @ApiModelProperty(value = "受检设备名称")
    private String equName;

    /** 受检设备类型 */
    @Excel(name = "受检设备类型")
    @ApiModelProperty(value = "受检设备类型")
    private String equType;

    /** 受检设备类型 */
    @Excel(name = "受检设备类型名称")
    @ApiModelProperty(value = "受检设备类型名称")
    private String name;

    /** 受检设备规格 */
    @Excel(name = "受检设备规格")
    @ApiModelProperty(value = "受检设备规格")
    private String equSpecifications;

    /** 出厂日期 */
    @JsonFormat(pattern = "yyyy-MM")
    @ApiModelProperty(value = "出厂日期")
    private Date productionData;

    /** 制造单位 */
    @Excel(name = "制造单位")
    @ApiModelProperty(value = "制造单位")
    private String manufacturer;

    /** 归属单位id */
    @Excel(name = "归属单位id")
    @ApiModelProperty(value = "归属单位id")
    private String ownershipid;

    /** 归属单位名称 */
    @Excel(name = "归属单位名称")
    @ApiModelProperty(value = "归属单位名称")
    private String ownershipname;

    /** 归属单位地址 */
    @Excel(name = "归属单位地址")
    @ApiModelProperty(value = "归属单位地址")
    private String ownershipaddress;

    /** 受检设备状态 */
    @Excel(name = "受检设备状态")
    @ApiModelProperty(value = "受检设备状态")
    private String equState;

    /** 受检设备地点 */
    @ApiModelProperty(value = "受检设备地点")
    private String testPlace;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setInspectionNum(String inspectionNum) 
    {
        this.inspectionNum = inspectionNum;
    }

    public String getInspectionNum() 
    {
        return inspectionNum;
    }
    public void setEquName(String equName) 
    {
        this.equName = equName;
    }

    public String getEquName() 
    {
        return equName;
    }
    public void setEquType(String equType) 
    {
        this.equType = equType;
    }

    public String getEquType() 
    {
        return equType;
    }
    public void setEquSpecifications(String equSpecifications) 
    {
        this.equSpecifications = equSpecifications;
    }

    public String getEquSpecifications() 
    {
        return equSpecifications;
    }
    public void setProductionData(Date productionData)
    {
        this.productionData = productionData;
    }

    public Date getProductionData()
    {
        return productionData;
    }
    public void setManufacturer(String manufacturer) 
    {
        this.manufacturer = manufacturer;
    }

    public String getManufacturer() 
    {
        return manufacturer;
    }
    public void setOwnershipid(String ownershipid) 
    {
        this.ownershipid = ownershipid;
    }

    public String getOwnershipid() 
    {
        return ownershipid;
    }
    public void setOwnershipname(String ownershipname) 
    {
        this.ownershipname = ownershipname;
    }

    public String getOwnershipname() 
    {
        return ownershipname;
    }
    public void setOwnershipaddress(String ownershipaddress) 
    {
        this.ownershipaddress = ownershipaddress;
    }

    public String getOwnershipaddress() 
    {
        return ownershipaddress;
    }
    public void setEquState(String equState) 
    {
        this.equState = equState;
    }

    public String getEquState() 
    {
        return equState;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTestPlace() {
        return testPlace;
    }

    public void setTestPlace(String testPlace) {
        this.testPlace = testPlace;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("inspectionNum", getInspectionNum())
            .append("equName", getEquName())
            .append("equType", getEquType())
            .append("equSpecifications", getEquSpecifications())
            .append("productionData", getProductionData())
            .append("manufacturer", getManufacturer())
            .append("ownershipid", getOwnershipid())
            .append("ownershipname", getOwnershipname())
            .append("ownershipaddress", getOwnershipaddress())
            .append("equState", getEquState())
            .append("name", getName())
            .toString();
    }
}
